package com.suning.sawp.intf.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;

/**
 * 
 * 簇商品管理-簇商品信息<br>
 *
 * @author 17033093
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
@Entity(name = "MODEL_COMMODITY_CLUSTER")
public class ModelClusterInfo implements Serializable {

    private static final long serialVersionUID = 641920040138784975L;

    /**
     * 商品系列名称(以该字段为依据进行分簇)
     */
    private String comRangeName;

    /**
     * 商品组代码
     */
    private String comGroupCode;

    /**
     * 商品组名称
     */
    private String comGroupName;

    /**
     * 品类编码(取9位品牌编码的前5位)
     */
    private String cateCode;
    /**
     * 品类名称(Map中取值，取不到值error)
     */
    private String categoryName;
    /**
     * 品牌4位编码(品牌编码)
     */
    private String brand4code;
    /**
     * 品牌9位编码(需要调用商品中心接口查询)
     */
    private String brand9code;
    /**
     * 品牌名称
     */
    private String brandName;
    /**
     * 商品编码
     */
    private String commCode;
    /**
     * 商品名称
     */
    private String commName;
    /**
     * 簇Id(使用以前的生成规则)
     */
    private Integer clusterId;

    /**
     * 更新时间
     */
    private Date datetime;

    public String getCateCode() {
        return cateCode;
    }

    public void setCateCode(String cateCode) {
        this.cateCode = cateCode;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getBrand4code() {
        return brand4code;
    }

    public void setBrand4code(String brand4code) {
        this.brand4code = brand4code;
    }

    public String getBrand9code() {
        return brand9code;
    }

    public void setBrand9code(String brand9code) {
        this.brand9code = brand9code;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getCommCode() {
        return commCode;
    }

    public void setCommCode(String commCode) {
        this.commCode = commCode;
    }

    public String getCommName() {
        return commName;
    }

    public void setCommName(String commName) {
        this.commName = commName;
    }

    public Integer getClusterId() {
        return clusterId;
    }

    public void setClusterId(Integer clusterId) {
        this.clusterId = clusterId;
    }

    public String getComRangeName() {
        return comRangeName;
    }

    public void setComRangeName(String comRangeName) {
        this.comRangeName = comRangeName;
    }

    public String getComGroupCode() {
        return comGroupCode;
    }

    public void setComGroupCode(String comGroupCode) {
        this.comGroupCode = comGroupCode;
    }

    public String getComGroupName() {
        return comGroupName;
    }

    public void setComGroupName(String comGroupName) {
        this.comGroupName = comGroupName;
    }

    public Date getDatetime() {
        return datetime;
    }

    public void setDatetime(Date datetime) {
        this.datetime = datetime;
    }

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("ModelClusterInfo [comRangeName=");
        builder.append(comRangeName);
        builder.append(", comGroupCode=");
        builder.append(comGroupCode);
        builder.append(", comGroupName=");
        builder.append(comGroupName);
        builder.append(", cateCode=");
        builder.append(cateCode);
        builder.append(", categoryName=");
        builder.append(categoryName);
        builder.append(", brand4code=");
        builder.append(brand4code);
        builder.append(", brand9code=");
        builder.append(brand9code);
        builder.append(", brandName=");
        builder.append(brandName);
        builder.append(", commCode=");
        builder.append(commCode);
        builder.append(", commName=");
        builder.append(commName);
        builder.append(", clusterId=");
        builder.append(clusterId);
        builder.append(", datetime=");
        builder.append(datetime);
        builder.append("]");
        return builder.toString();
    }

}
